Class Scenario: Expose single domain entity
Tests
| Test |
Duration |
Result |
| And it has no actions |
0s |
passed |
| And it is exposed at "/hyperstateTest/test/testAccount" |
0.006s |
passed |
| And it will have a self link referencing "/hyperstateTest/test/testAccount" |
0s |
passed |
| And it will have no actions |
0s |
passed |
| And it will have no links apart from "self" |
0s |
passed |
| And it's only link is self link referencing "/hyperstateTest/test/testAccount" |
0s |
passed |
| Given an "Account" domain entity with |
0s |
passed |
| Then the response will be an "Account" domain entity with |
0s |
passed |
| When request is made to "/hyperstateTest/test/testAccount" for an "au.com.mountainpass.hyperstate.server.entities.Account" |
0s |
passed |
| classMethod |
0.073s |
passed |
Standard output
2016-07-01 05:14:58.372 INFO 3230 --- [ Test worker] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [au.com.mountainpass.hyperstate.server.StepDefs]: no resource found for suffixes {-context.xml, Context.groovy}.
2016-07-01 05:14:58.374 INFO 3230 --- [ Test worker] WebAppIntegrationTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2016-07-01 05:14:58.374 INFO 3230 --- [ Test worker] WebAppIntegrationTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@48b18fbf, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@f4e8891, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@43396264, org.springframework.test.context.support.DirtiesContextTestExecutionListener@321b898, org.springframework.test.context.transaction.TransactionalTestExecutionListener@47a91334, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3c580150]
2016-07-01 05:14:58.374 INFO 3230 --- [ Test worker] o.s.b.f.s.DefaultListableBeanFactory : Replacing scope 'cucumber-glue' from [cucumber.runtime.java.spring.GlueCodeScope@1e7858dd] to [cucumber.runtime.java.spring.GlueCodeScope@3a91e582]
Scenario: Add Relationship ?[90m# serviceExposer.feature:14?[0m
?[32mGiven ?[0m?[32ma Hyperstate controller "?[0m?[32m?[1mhyperstateTestController?[0m?[32m" at "?[0m?[32m?[1m/hyperstateTest?[0m?[32m"?[0m ?[90m# StepDefs.a_Hyperstate_controller_at(String,String)?[0m
?[32mAnd ?[0m?[32mthe controller's root has an "?[0m?[32m?[1maccounts?[0m?[32m" link to an "?[0m?[32m?[1mAccounts?[0m?[32m" domain entity?[0m ?[90m# StepDefs.the_controller_s_root_has_an_link_to_an_domain_entity(String,String)?[0m
?[32mWhen ?[0m?[32mrequest is made to "?[0m?[32m?[1m/hyperstateTest?[0m?[32m"?[0m ?[90m# StepDefs.request_is_made_to(String)?[0m
?[32mAnd ?[0m?[32mits "?[0m?[32m?[1maccounts?[0m?[32m" link is followed?[0m ?[90m# StepDefs.its_link_is_followed(String)?[0m
?[32mThen ?[0m?[32mthe response will be a "?[0m?[32m?[1mAccounts?[0m?[32m" domain entity?[0m ?[90m# StepDefs.the_response_will_be_an_domain_entity(String)?[0m